PI Manager uses ocpn-plugins.xml to provide the required metadata and URLs for installation of plugins.
Ocpn-plugins.xml and associated metadata files are located in https://github.com/OpenCPN/plugins/
Batch files and scripts are available to help create this file ocpn-plugins.xml is created from the individual plugin metadata files located in the data directory.
Please review the Readme file.
In summary
The scripts require Python
META-URL's are only accepted on the github.com/opencpn/plugins/Alpha Branch.
git clone https://github.com/[GitUser]/OpenCPN/plugins.gitgit checkout Alpha to go to the Alpha branch.git checkout -b [YourName]-alpha which will contain your testing metadata.xml's.git checkout Alpha to create your own META-URL xml file.[GitUser]/plugins/Alpha/metadata alongside the other Plugin Dev xml files. This file will have a META-URL redirect to your new private branch. Example follows:[GitUser]/plugins/Alpha/metadata/meta-url-alpha-seandepagnier-rgleason.xml<?xml version="1.0" encoding="UTF-8"?>
<opencpn-plugin version="1">
<name> Sean Depagnier Alpha Plugins meta-url </name>
<version> 1.0 </version>
<summary> meta-url to Sean's Alpha Plugins by rgleason </summary>
<meta-url> https://raw.githubusercontent.com/rgleason/plugins/rg-alpha/ocpn-plugins.xml </meta-url>
</opencpn-plugin>
python tools/ocpn-metadata generate –force –userdir metadata –destfile ocpn-plugins.xml . See the README. This command collects all the files into one file. You will need to have python configured on your computer.Alpha branch up to your remote repository, and then push it to opencpn/plugins/Alpha.[github user]/plugins branch:[your name]-alpha now needs to be populated with metadata xmls from your Cloudsmith directory. In my case the branch is github.com/rgleason/OpenCPN/plugins/rg-alpha github.com/rgleason/OpenCPN/plugins/rg-alpha/metadata ocpn-plugins.xml file with python tools/ocpn-metadata generate –force –userdir metadata –destfile ocpn-plugins.xml Alpha branch to link to, so that you can test some plugins in the current Developer's version of Opencpn. #19 Pull Request from opencpn/plugins/rgleason:rg-alpha to opencpn/plugins:Alpha
Also here is another example with squiddio